package com.itheima.service;

import com.itheima.pojo.Emp;
import com.itheima.pojo.LogInfo;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.empQueryParam;

import java.time.LocalDate;
import java.util.List;

public interface EmpService {
    PageResult<Emp> getEmpByPage(empQueryParam empQueryParam);

    void insert(Emp emp);

    void deleteByIds(List<Integer> ids);

    Emp getEmpById(Integer id);

    void update(Emp emp);

    LogInfo Login(Emp emp);
    //PageResult getEmpByPage(Integer page, Integer pageSize, String name, Integer gender, LocalDate begin, LocalDate end);


}
